home *** CD-ROM | disk | FTP | other *** search
- Short: BOOPSI pop-up, cycle and button gadget
- Author: tanti@intercom.it (Massimo Tantignone)
- Uploader: tanti@intercom.it (Massimo Tantignone)
- Version: 40.15
- Type: dev/gui
- Requires: AmigaOS 3.0+
-
- select.gadget 40.15 (19.6.99) by Massimo Tantignone
-
- The select.gadget is a shared library which, when opened, adds to the system
- a public BOOPSI gadget class called "selectgclass". This class implements a
- button-like selection gadget, with features similar to those of a traditional
- GadTools cycle gadget, but with the additional ability to open, when pressed,
- a pop-up menu which allows the user to pick his choice more easily.
-
- The look and behavior of the gadget and its pop-up menu can be configured
- using the attribute tags of the class.
-
- The library is freeware; if you use it, you are allowed to distribute it
- with your software.
-
- Some highlights:
-
- - A delay can be set for the appearance of the pop-up menu, allowing for a
- gadget which reacts like a normal cycle gadget upon "quick" clicks, and
- like a pop-up gadget if the mouse button is kept pressed a little longer.
-
- - The pop-up menu can appear and disappear with a vertical "zoom" effect
- whose duration is configurable.
-
- - It is optionally possible to have a "sticky" pop-up menu which remains
- open when the mouse button is released.
-
- - The gadget can be made "quiet", that is, the currently selected item can be
- not displayed. Useful to attach a small pop-up button to string gadgets.
-
- - The gadget can be configured to always behave like a cycle gadget, and
- even like a plain button gadget.
-
- - The gadget can broadcast changes in its value to target objects via the
- BOOPSI notification system.
-
- - All changes done with SetGadgetAttrsA() to the gadget's position, size
- and look are visually executed in real-time.
-
- - The gadget's dispatcher is able to swap the stack when needed.
-
- - The gadget can be added to requesters and window borders.
-
- - The pop-up menu can have a drop shadow.
-
- - The gadget's "pop-up" symbol can be placed at the left side, at the right
- side, or it can also not appear at all; its width is also configurable.
- The gadget's default imagery for the symbol is fully scalable, and it can
- be replaced by the application with a custom image.
-
- - The default values for unspecified attributes can be globally set by the
- user with an ASCII preferences file; the changes are applied in real-time
- (to gadgets created afterwards) via file notification.
-
- Furthermore, the library offers some functions which allow to "transform"
- a normal gadget into a custom gadget having (almost) the same features of
- the "selectgclass" gadgets.
-
- This way it's possible, for example, to create GadTools GENERIC_KIND gadgets
- and turn them into pop-up gadgets, obtaining all the benefits of this type
- of gadgets while also keeping the benefits of the GadTools automatic gadget
- creation (and deletion) system.
-
- Lastly, this gadget class supports VisualPrefs and takes full advantage of
- the graphic enhancements it brings to the system.
-
- Changes since version 40.14:
-
- ยท Now the gadget preserves the pen color of any IntuiText passed to it
- rather than incorrectly changing it to TEXTPEN.
-
- Author:
-
- Massimo Tantignone
- Via Campagnoli, 4
- 28100 Novara (NO)
- ITALY
-
- E-mail: tanti@intercom.it
-
-
- ============================= Archive contents =============================
-
- Original Packed Ratio Date Time Name
- -------- ------- ----- --------- -------- -------------
- 22872 13611 40.4% 20-Jun-99 00:23:46 +select.gadget
- 255 155 39.2% 16-Jan-99 01:26:32 +select.prefs
- 715 287 59.8% 12-May-98 10:30:34 +selectgadget_protos.h
- 2184 691 68.3% 16-Jan-99 01:41:42 +select.h
- 462 177 61.6% 12-May-98 10:56:52 +selectgadget_pragmas.h
- 210 139 33.8% 12-May-98 10:58:54 +selectgadget.h
- 4810 1425 70.3% 26-May-98 20:21:46 +Install
- 681 344 49.4% 26-May-98 23:17:14 +Install.info
- 2479 1012 59.1% 16-Jan-99 02:01:18 +ReadMe.user
- 464 213 54.0% 26-May-98 12:24:12 +ReadMe.user.info
- 44587 13428 69.8% 21-Jul-99 11:32:50 +select.doc
- 464 212 54.3% 16-May-98 15:47:34 +select.doc.info
- 47742 14059 70.5% 21-Jul-99 11:32:10 +select.guide
- 468 226 51.7% 26-May-98 23:17:14 +select.guide.info
- 324 207 36.1% 12-May-98 10:28:34 +selectgadget_cl.fd
- 9504 5940 37.5% 30-Jan-99 02:10:26 +SelGadgTest
- 9399 2262 75.9% 30-Jan-99 02:07:32 +SelGadgTest.c
- 464 227 51.0% 26-May-98 23:17:14 +SelGadgTest.c.info
- 454 188 58.5% 26-May-98 23:17:46 +SelGadgTest.info
- 9404 6007 36.1% 27-May-98 20:28:58 +SGCustomTest
- 7239 2176 69.9% 27-May-98 20:26:26 +SGCustomTest.c
- 464 223 51.9% 26-May-98 23:17:14 +SGCustomTest.c.info
- 454 191 57.9% 26-May-98 23:17:14 +SGCustomTest.info
- 1220 412 66.2% 21-Jul-99 11:22:52 select_gc.info
- -------- ------- ----- --------- --------
- 167319 63812 61.8% 22-Jul-99 03:12:48 24 files
-